home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / CDTools / S / SwitchRes < prev    next >
Text File  |  2000-11-08  |  617b  |  25 lines

  1. /*
  2.     Switches between HiRes and LoRes versions of the HTML
  3.     $VER: SwitchRes 1.1 (8.11.2000)
  4.     (c) Neil Bothwick, Wirenet
  5.  
  6.     1.1  - Uses "parse source" to get the name of the CD
  7. */
  8.  
  9. options results
  10. parse source . ' ' . ' ' . ' ' ScriptName ' ' .
  11. CDName = left(ScriptName, pos(':', ScriptName) - 1)
  12.  
  13. 'Get URL var Welcome'
  14. if pos('LORES',upper(Welcome)) > 0 then 'Open "file://localhost/'CDName':Welcome.html"'
  15. else 'Open "file://localhost/'CDName':Welcome_Lores.html"'
  16.  
  17. 'Wait ALL'
  18. call addlib('rexxsupport.library',0,-30,0)
  19. call delay(40)
  20. 'Open "file://localhost/'CDName':html/NewsFlash.html#Moreoptions" target main'
  21.  
  22.  
  23.  
  24.  
  25.